package com.hanlin.backend.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hanlin.backend.common.dto.SettingDto;
import com.hanlin.backend.common.entity.HlSetting;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 全局参数表 Mapper 接口
 * </p>
 *
 * @author hl.yuan
 * @since 2021-01-06
 */
public interface HlSettingMapper extends BaseMapper<HlSetting> {
    /**
     * 全局参数查询
     *
     * @param iPage
     * @param dto
     * @return
     */
    IPage<HlSetting> getTable(IPage iPage, @Param("params") SettingDto dto);
}
